﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200079B RID: 1947
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetPlayerDetailInfoScRsp : IMessage<GetPlayerDetailInfoScRsp>, IMessage, IEquatable<GetPlayerDetailInfoScRsp>, IDeepCloneable<GetPlayerDetailInfoScRsp>, IBufferMessage
	{
		// Token: 0x170018DC RID: 6364
		// (get) Token: 0x0600577C RID: 22396 RVA: 0x000EC433 File Offset: 0x000EA633
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetPlayerDetailInfoScRsp> Parser
		{
			get
			{
				return GetPlayerDetailInfoScRsp._parser;
			}
		}

		// Token: 0x170018DD RID: 6365
		// (get) Token: 0x0600577D RID: 22397 RVA: 0x000EC43A File Offset: 0x000EA63A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetPlayerDetailInfoScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170018DE RID: 6366
		// (get) Token: 0x0600577E RID: 22398 RVA: 0x000EC44C File Offset: 0x000EA64C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetPlayerDetailInfoScRsp.Descriptor;
			}
		}

		// Token: 0x0600577F RID: 22399 RVA: 0x000EC453 File Offset: 0x000EA653
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetPlayerDetailInfoScRsp()
		{
		}

		// Token: 0x06005780 RID: 22400 RVA: 0x000EC45C File Offset: 0x000EA65C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetPlayerDetailInfoScRsp(GetPlayerDetailInfoScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.detailInfo_ = ((other.detailInfo_ != null) ? other.detailInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06005781 RID: 22401 RVA: 0x000EC4A8 File Offset: 0x000EA6A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetPlayerDetailInfoScRsp Clone()
		{
			return new GetPlayerDetailInfoScRsp(this);
		}

		// Token: 0x170018DF RID: 6367
		// (get) Token: 0x06005782 RID: 22402 RVA: 0x000EC4B0 File Offset: 0x000EA6B0
		// (set) Token: 0x06005783 RID: 22403 RVA: 0x000EC4B8 File Offset: 0x000EA6B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x170018E0 RID: 6368
		// (get) Token: 0x06005784 RID: 22404 RVA: 0x000EC4C1 File Offset: 0x000EA6C1
		// (set) Token: 0x06005785 RID: 22405 RVA: 0x000EC4C9 File Offset: 0x000EA6C9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PlayerDetailInfo DetailInfo
		{
			get
			{
				return this.detailInfo_;
			}
			set
			{
				this.detailInfo_ = value;
			}
		}

		// Token: 0x06005786 RID: 22406 RVA: 0x000EC4D2 File Offset: 0x000EA6D2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetPlayerDetailInfoScRsp);
		}

		// Token: 0x06005787 RID: 22407 RVA: 0x000EC4E0 File Offset: 0x000EA6E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetPlayerDetailInfoScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this.DetailInfo, other.DetailInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06005788 RID: 22408 RVA: 0x000EC530 File Offset: 0x000EA730
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.detailInfo_ != null)
			{
				num ^= this.DetailInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06005789 RID: 22409 RVA: 0x000EC585 File Offset: 0x000EA785
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600578A RID: 22410 RVA: 0x000EC58D File Offset: 0x000EA78D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600578B RID: 22411 RVA: 0x000EC598 File Offset: 0x000EA798
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.Retcode);
			}
			if (this.detailInfo_ != null)
			{
				output.WriteRawTag(82);
				output.WriteMessage(this.DetailInfo);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600578C RID: 22412 RVA: 0x000EC5F4 File Offset: 0x000EA7F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.detailInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.DetailInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600578D RID: 22413 RVA: 0x000EC64C File Offset: 0x000EA84C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetPlayerDetailInfoScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.detailInfo_ != null)
			{
				if (this.detailInfo_ == null)
				{
					this.DetailInfo = new PlayerDetailInfo();
				}
				this.DetailInfo.MergeFrom(other.DetailInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600578E RID: 22414 RVA: 0x000EC6B4 File Offset: 0x000EA8B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600578F RID: 22415 RVA: 0x000EC6C0 File Offset: 0x000EA8C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U)
				{
					if (num != 82U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						if (this.detailInfo_ == null)
						{
							this.DetailInfo = new PlayerDetailInfo();
						}
						input.ReadMessage(this.DetailInfo);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400222A RID: 8746
		private static readonly MessageParser<GetPlayerDetailInfoScRsp> _parser = new MessageParser<GetPlayerDetailInfoScRsp>(() => new GetPlayerDetailInfoScRsp());

		// Token: 0x0400222B RID: 8747
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400222C RID: 8748
		public const int RetcodeFieldNumber = 2;

		// Token: 0x0400222D RID: 8749
		private uint retcode_;

		// Token: 0x0400222E RID: 8750
		public const int DetailInfoFieldNumber = 10;

		// Token: 0x0400222F RID: 8751
		private PlayerDetailInfo detailInfo_;
	}
}
